package org.aeon.message.request;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.aeon.entity.dto.FriendApplyDto;

import java.io.Serial;

/**
 * @author: MissingAeon
 * @date: 2024/1/26 9:04
 * @description:
 */
@Getter
@Setter
@ToString
public class FriendAddRequestMessage extends RequestMessage {
    @Serial
    private static final long serialVersionUID = 6624151844052905709L;
    private FriendApplyDto friendApply;
    public void setMessage(FriendApplyDto friendApply) {
        this.friendApply = friendApply;
    }

    @Override
    public int getMessageType() {
        return FriendAddRequestMessage;
    }
}
